import request from '@/utils/request'

export function listWxTags(query) {
  return request({
    url: '/wxmp/wxTags/list',
    method: 'get',
    params: query
  })
}

export function addWxTags(obj) {
  return request({
    url: '/wxmp/wxTags',
    method: 'post',
    data: obj
  })
}

export function eidtWxTags(obj) {
  return request({
    url: '/wxmp/wxTags',
    method: 'put',
    data: obj
  })
}

export function delWxTags(query) {
  return request({
    url: '/wxmp/wxTags',
    method: 'delete',
    params: query
  })
}
